package com.micro.modual.service;

import com.micro.core.frame.service.BasicsService;
import com.micro.core.resp.RespJson;
import com.micro.modual.entity.GoodsComment;
import com.micro.modual.model.bo.goodscomment.GoodsCommentBO;


/**
*  <h1>商品评论表 接口</h1>
 * @author LevelCoder
 * @version V1.0.0
 * @email LevelCoder@126.com
 * @date 2020-08-04 00:11:10
 */
public interface GoodsCommentService extends BasicsService<GoodsComment,Long>{

    /**
     * <h2>新增商品评论表详情</h2>
     * @param goodsCommentBO {@link GoodsCommentBO} 商品评论表 新增/修改 请求对象
     * @return {@link RespJson} 返回结果基础类
     */
    RespJson addGoodsComment(GoodsCommentBO goodsCommentBO);

    /**
     * <h2>修改商品评论表详情</h2>
     * @param goodsCommentBO  {@link GoodsCommentBO} 商品评论表 新增/修改 请求对象
     * @return {@link RespJson} 返回结果基础类
     */
    RespJson editGoodsComment(GoodsCommentBO goodsCommentBO);

    /**
     * <h2>根据主键编号删除商品评论表信息</h2>
     * @param id  商品评论表 主键编号
     * @return  {@link RespJson} 返回结果基础类
     */
    RespJson deleteGoodsComment(Long id);
}
